import App from './App.vue'

const host = 'https://unidemo.dcloud.net.cn/';
import store from './store'
// 引入相关工具函数
import util from '@/common/js/util.js'
Vue.prototype.$util = util; 
// 引入计算最大值插件
import Enumerable from 'linq';
Vue.prototype.$Enumerable = Enumerable; 


// 引入公共自定义底部导航栏

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
Vue.prototype.$store = store;
Vue.prototype.$host = host;
Vue.prototype.$TestUrl = 'http://api.test.zytsaas.com/'//测试api  
Vue.prototype.$ApiUrl = 'https://api.zytsaas.com/' //正式api
Vue.prototype.$LocalUrl = 'http://192.168.1.19:5000/' //本地测试api
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		...app,
		store
	}
}
// #endif
